package com.competition.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 知识竞赛题目表
 * </p>
 *
 * @author testjava
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ExaminationDetail对象", description="知识竞赛题目表")
public class ExaminationDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "试题编号")
    private String examinationId;

    @ApiModelProperty(value = "题目")
    private String topic;

    @ApiModelProperty(value = "选项A")
    @TableField("optionA")
    private String optionA;

    @ApiModelProperty(value = "选项B")
    @TableField("optionB")
    private String optionB;

    @ApiModelProperty(value = "选项C")
    @TableField("optionC")
    private String optionC;

    @ApiModelProperty(value = "选项D")
    @TableField("optionD")
    private String optionD;

    @ApiModelProperty(value = "正确答案")
    private String answer;


}
